package org.example.lazy;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Lazy;
import org.springframework.stereotype.Component;

//@Component
public class LazyBeanWrapper {

    @Autowired
    @Lazy
    private LazyBean lazyBean;

    public void doSomething() {
        lazyBean.doSomething();
    }
}
